class CreateSmallBodyParameters < ActiveRecord::Migration
  def self.up
    create_table :small_body_parameters do |t|
      t.integer :simulation_id, :null => false
      t.float :habitable_zone_start
      t.float :habitable_zone_end
      t.integer :habitable_zone_density
      t.float :eccentricity_start
      t.float :eccentricity_end
      t.integer :eccentricity_density
      t.timestamps
    end
  end

  def self.down
    drop_table :small_body_parameters
  end
end
